package com.usian.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.media.pojos.WmNewsMaterial;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {
    public void saveRelationsByContent(@Param("materials") List<Integer> materials,
                                       @Param("newsId")Integer newsId,
                                       @Param("type") Integer type);
}
